﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace GreetingWCFService
{    
    [ServiceContract]       
    public interface IGreetingService
    {
        [OperationContract]
        GreetingResponse SaveAndSendGreeting(string captchaAnswer, GreetingData greetingData, SenderInfo senderInfo);

        [OperationContract]
        GreetingResponse SaveGreeting(string captchaAnswer, GreetingData greetingData);

        [OperationContract]
        GreetingData GetGreeting(Guid id);

        [OperationContract]
        Captcha GetCaptcha();             
    }
}
